package com.data.test;

import lombok.SneakyThrows;

public class A extends Thread{
    @Override
    public void run() {
        for (int i = 0; i < 10; i++) {
            System.out.println(i);
        }
    }

    public static void main(String[] args) {
        A a = new A();
        a.start();
    }
}

